package org.worthydots.access.jpa.dao;

import java.util.List;

import org.worthydots.access.jpa.entity.StationRoute;

public interface StationRouteDAO {

	public void saveStationRoute(StationRoute stationRoute);
	
	public void saveStationRouteIfNotPresent(StationRoute stationRoute);

	public StationRoute getStationRouteByStationRouteId(int stationRouteId);
	
	public StationRoute getStationRouteByTrainNumberAndStationCode(String trainNumber, String stationCode);

	public List<StationRoute> getAllStationRoutes();

	public List<StationRoute> getStationRoutesOfStation(String stationCode);

	public List<StationRoute> getStationRoutesOfTrain(String trainNumber);

}
